package org.devf.fork.imsimulator.socket.handler;

import org.devf.fork.imsimulator.socket.Channel;
import org.devf.fork.imsimulator.socket.Ihandler;
import org.devf.fork.imsimulator.socket.dto.BasePackets;

/**
 * AckHandler related
 *
 * @author wanghuafu
 * @since 1.0  2023/9/12 14:37
 */
public class AckHandler implements Ihandler {

    @Override
    public boolean isSupport(BasePackets packets) {
        return packets.getAck();
    }

    @Override
    public boolean execute(Channel channel, BasePackets packets) {
        return false;
    }
}
